﻿using System;
using System.Collections.Generic;
using System.Text;

namespace daStaticAnalyser.Analysers
{
    public class FileInf
    {
        public String Name;
        public int SLOC;
        public int[] Comments;
        public FileInf(String Name1, int SLOC1, int CountLinesOfPart1)
        {
            Name = Name1;
            SLOC = SLOC1;
            int CountParts = SLOC / CountLinesOfPart1;
            if (CountParts == 0)
            {
                Comments = new int[1];
                Comments[0] = 0;
            }
            else
            {
                Comments = new int[CountParts];
                for (int i = 0; i < CountParts; ++i) Comments[i] = 0;
            }
        }
    }
}
